package cn.zhou.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {

    @RequestMapping("/t1")
    private String demo01(Model model){
        model.addAttribute("msg","TestController01`````");
        return "demo";

    }

    @RequestMapping("/t2")
    private String test02(Model model){
        model.addAttribute("msg","TestController02`````");
        return "demo";

    }
    @RequestMapping("/t3")
    private String test03(Model model){
        model.addAttribute("msg","TestController03`````");
        return "demo";

    }
}
